import React from 'react'
import { NavBar, Toast } from 'react-vant';
import {useNavigate,useLocation,useParams} from "react-router-dom"
function History() {
    let location = useLocation()
    let parames = useParams()
  
    console.log(location);
    let navigate = useNavigate()
    let goWeight = ()=>{
        navigate("/weight")
    }
    return (
        <div style={{"background":"#ccc","height":"100vh"}}> 
           
            <div>
                <div className='card' onClick={goWeight}>
                    <div></div>
                    <div>体重</div>
                </div>
                <div className='card'>
                    <div></div>
                    <div>血压</div>
                </div>
                <div className='card'>
                    <div></div>
                    <div>血糖</div>
                </div>
            </div>
        </div>
    )
}

export default History